Public Class LicenseMaintenance

    Private Sub LicenseMaintenance_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Me.LicenseTableAdapter.Fill(Me.LicenseData.License)

    End Sub

    Private Sub UpdateDetails_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpdateDetails.Click

        LicenseDS.EndEdit()
        LicenseTableAdapter.Update(LicenseData.License)
        Me.Close()

    End Sub

    Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click

        LicenseDS.CancelEdit()
        Me.Close()

    End Sub

End Class